home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Atari Compendium
/
The Atari Compendium (Toad Computers) (1994).iso
/
files
/
umich
/
utils
/
one_jack.lzh
/
ONE_JACK.TXT
< prev
Wrap
Text File
|
1994-05-11
|
19KB
|
467 lines
__ //// /// //
/ ') // //// /// // //
/ / ___ _ // // // // ////
(__/ / / <_</_ // // ////// // // //
/// // // /// // //
From the programmers of Mnilu - the GfA v2 compiler
& SuperView - the Desktop file-viewer
comes
O n e J a c k
Welcome to One Jack ,a different kind of program launcher
which supports virtually all TOS versions and all replacement
desktops. In a way it becomes an integral part of the pexec call.
A computer is a useless machine if you don't have any decent
software for it and there also have to be software from where one can
launch the software. Now the ST range of machines have always had the
Desktop which led one run the program. But if someone had hundreds of
folders on a harddrive then of course searching through all of them
can be a big problem. There are many program-launcher now days and the
enhanced desktop on TOS 2+ / replacement desktops also allows one to
run a program from hot-keys ( installing program on function keys etc.
). The problem is to remember which key refere to which program .. .
Problem which different program-laucher is that you have to
say good-bye to the Desktop.
One Jack attempts to solve some of these problems and uses a
very differnt approach. The program works as an accessory. The
question : "An accessory can't run a GEM program" ,may be coming up ..
. but we'll come to that later.
Installation
""""""""""""
Since One Jack is an accessory simply copy ONE_JACK.ACC and
ONE_JACK.RSC to the root-directory of a disk and reboot ,or load up
ONE_JACK.ACC in one of the accessory loaders.
1_JRUN.PRG , 1_JRUN.TOS ,1_JRUN.TTP and 1_JRUN.GTP should all
be copied to the root directory of a disk. Note : These are all DUMMY
programs!!! But still they should be there ,and should also be
preferably installed on Function keys. If you never use (for example)
.GTP programs then this can be deleted from the disk.
Now select One Jack from the acc menu.
Use
"""
The first time you'll select One Jack a short postcardware
reminder will come up. Click on OK.
Now the main menu will appear ,here you'll see 33 boxes(slots)
,which should all be empty (unless a ONE_JACK.JSM file was auto-
loaded) .
If the slot was not empty (and you clicked on a slot) then the
file (corresponding to the slot) will be selected (ready to run) ,and
One Jack will exit. To actually run the program click on x_JRUN.nnn. x
may be 1 or A ,nnn may be PRG,TOS,TTP or GTP (see below for more info
abou this).
If you wan't to reedit an not empty slot then hold down a
[Shift] key while clicking on the slot.
Note: x_JRUN.nnn are ALL DUMMY programs. They require NO loading (and
of course no extra memory) at all ,and can be replaced with any file
of any kind!!!!
Upto 66 program files may at once be in the memory. To access the next
33 slots click on the - up and down arrow button - which you'll see on
the bottom right corner. To come back to the first 33 slots reclick on
the up-down-arrow button.
To install a program simply click on any of the empty slots
,either in the first 33-boxes or the last 33-boxes. The file-selector
will pop-up. Select a file (.PRG,.APP,.GTP,.TOS or .TTP). and click on
OK. Now the prgoram installer menu will come up.
Following settings may be altered:
Heading: This is the heading which will be displayed in the
slot ,it doesn't have any other meaning at all. It can be any thing
from the name of program (XX.PRG) or (Xx) or whatever you like.
Clicking on Centre will centre the heading for you!
File: The file name ,with the full directory should be here.
This will automatically be selected so you don't really need to fiddle
with that. The file name can also be selected by Selcet (see below)
Select: Clicking on this will bring up the fileselector ,and
the file selected from here will be displayed in the File: (see above)
place.
Directory: Here you can select between [Leave alone] and [Set
to file]..
[Leave alone]: If you select this then the setted directory
will NOT be altered at all.
[Set to file]: The directory will always be set to the file
to run (when you execute the program by x_JRUN.xxx)
As an example you have a file D:\EDITOR\EDITOR.PRG
installed in a slot. If you select [Leave alone] the directory will
not be altered. Now when you run say 1_JRUN.PRG and the directory way
E:\ASM\DEVPAC\ then the E:\ASM\DEVPAC\ directory will be selected.
This _can_ make -Resource file not found- errors.
On the other side if you had selected [Set to file]
and run 1_JRUN.PRG then the directory will always be set to
D:\EDITOR\.
If you don't understand it much then simply leave it
as [Set to file].
The next options are Parameters :
[No] : No pre-defined parameters. If you will enter
any parameters in the .GTP ,.TTP dialog then the same parameters will
be passed to calling application. Otherwise One Jack won't do anything
with them.
[Ask]: When you'll click on the slot of this program
then a dialog-box will come up ,asking for any parameters. All put
commands are also interrupted (see below).
[Defined] : Enter the parameters in the editable line
next to this option and the same parameters will be passed to the
application. No need to reenter the parameters ,as they will be
remembered! All put commands are also interrupted (see below).
Click on [OK] to exit back to the main menu.
Clicking on [Select this] will automatically select this
program ,One Jack will exit and the prgoram will be ready to run by
x_JRUN.nnn.
At the main menu (If you are there) clcik on a sot where a
file has been installed and click on it to select it. One Jack will
now exit and the prgoram will be ready to run by x_JRUN.nnn.
The selected program may now be run by double clicking as
normal on 1_JRUN.PRG ,1_JRUN.TOS,1_JRUN.TTP or 1_JRUN.GTP. As these
programs are just 'dummies' they won't load at all ,and in reality
your program will run instantly! If you have installed x_JRUN.nnn on a
function key then it's a simple matter to press that function key. If
your desktop allows it then these programs can be dragged to the
dektop.
Anyway all x_JRUN.nnn start with 1 or A ( x=1 or x=A ) and
they will normaly be displayed in the top of the window.
Put commands:
=============
In all parameters you may enter special 'commands' to
do something special. These all start with an %.
%p ,%f:
To input a file name selected using the file selector use %f
or %p. The file selector will come up when you [Select this] ,or click
on the slot where (%f,%p) is prefdeined as parameter : %f : Only the
file name will be passed. %p : Both the file name and directory will
be passed.
Example
You have a pre-defined text as : %p for
D:\EDITOR\EDITOR.PRG. Now when you will click on the slot for
EDITOR.PRG then the file selector will come up and the file selected
will be passed (full directory) to EDITOR.PRG when you run x_JRUN.nnn.
Things can be made complicated. Normally to get
verbose listning in a LZH file you enter parameters as :
v -h file.lzh *.* . For LHARC.TTP pre-define the text as :
v -h %p *.*. Now whenever you'll click on the slot for LHARC.TTP the
file selector will come up. Select the file tp verbose list and click
on Ok. The next th